<!--
 * @Author: your name
 * @Date: 2020-11-18 19:58:51
 * @LastEditTime: 2020-11-19 10:02:02
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \wms2\src\views\basicInfo\shipment\shipmentForm\addShipmentForm.vue
-->
<template>
  <el-tabs type="border-card">
    <el-tab-pane label="入驻商资料">
      <shipmentAdd :parent-data="parentData" />
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import shipmentAdd from "./components/shipmentAdd.vue";
import { SelectAddress } from "@/api/orderform";
export default {
  name: "AddShipmentForm",
  components: { shipmentAdd },
  data() {
    return {
      parentData: {
        areaOptions: [],
        isCompany: false
      }
    };
  },
  created() {
    SelectAddress().then(response => {
      this.parentData.areaOptions = response.data.records;
    });
  }
};
</script>
